package com.zy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

//收费标准类
@Data
@TableName("pricing_standard")
public class PricingStandard {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("hourly_rate")
    private Integer hourlyRate;//按小时计费
    @TableField("daily_rate")
    private Integer dailyRate;//按天计费
    @TableField("exceeding_hours")
    private Integer exceedingHours;//超时数，超过多少小时按天计费
    @TableField("updateTime")
    private Date updateTime;//更新日期

//    public PricingStandard(){};
//    public PricingStandard(PricingStandard entity){
//        this.id=entity.id;
//        this.hourlyRate=entity.hourlyRate;
//        this.dailyRate=entity.dailyRate;
//        this.exceedingHours=entity.exceedingHours;
//        this.updateTime=entity.updateTime;
//    }
}
